package com.sptpc.myalarm;

import android.app.Activity;
import android.content.DialogInterface;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;

public class SimpledialogActivity extends Activity {
//    @Override
//    public void  onCreate(Bundle savedlnstanceState){
//        super.onCreate(savedlnstanceState);
//        setContentView(R.layout.activity_main);
//
//        Builder mydialog = new AlertDialog.Builder(SimpledialogActivity);
//        mydialog.setMessage("这是消息提示!");
//        mydialog.setTitle("消息提示");
//        mydialog.setPositiveButton("确定",new MyListener());
//        mydialog.show();
//    }

//    class MyListener implements OnClickListener{
//        @Override
//        public void onClick(DialogInterface dialog,int which){
//            //TODO Auto-generated method stub
//            new AlertDialog.Builder(SimpledialogActivity.this).setMessage("你点击了确定按钮").show();
//        }
//    }
}
